package main

import (
	"gitee.com/slion/account/initialize"
	"gitee.com/slion/infra"
	"github.com/tietang/props/ini"
	"github.com/tietang/props/kvs"
)

func main(){

	fileName := kvs.GetCurrentFilePath("config.ini", 1)
	file := ini.NewIniFileConfigSource(fileName)
	app := infra.New(file)
	app.Start()
}

func init(){
	initialize.RegisterStarter()
}